namespace FluentBinding.WinForms
{
    /// <summary>
    /// Represents low-level intrface for convertion root entity to the object which will
    /// be used for data binding
    /// </summary>
    /// <typeparam name="E">Type of the root entity</typeparam>
    public interface IDataMemberConvertor<E>
    {
        #region Public methods

        void Initialize(E entity, object value);
        object Select(E entity);

        #endregion
    }
}